<template>
	<view>
		<view class="zf">订单支付成功</view>
		<view class="zf2">支付金额:{{num1}}</view>
		<view class="zf3" @tap="back">返回个人中心</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
			   num1:''	
			}
		},
		methods:{
			back(){
				uni.switchTab({
					url:'/pages/user/user'
				})
			}
		},
		onLoad() {
			this.num1=uni.getStorageSync('num')
		}
	}
</script>

<style>
	.zf{
		text-align: center;
		margin-top: 10rpx;
		font-size: 20px;
	}
	.zf2{
		margin-top: 50rpx;
		text-align: center;
		font-size: 14px;
	}
	.zf3{
		width: 300rpx;
		height: 80rpx;
		text-align: center;
		line-height: 80rpx;
		border: 1px solid black;
		margin: 0 auto;
		margin-top: 600rpx;
	}
</style>
